added SSCLI 1.0
[windows-sources.git] / shared source / sscli_ref_20021101 / docs / System.Reflection.Emit / System.Reflection.Emit.html
blobd66efc30f9a85356ae12b3013ae327819f2ae236
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html>
2 <head>
3 <META http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
4 <link rel="stylesheet" type="text/css" href="../refdoc.css">
5 <title>Namespace: System.Reflection.Emit</title>
6 </head>
7 <body>
8 <h2>Namespace: System.Reflection.Emit</h2>
9 <dl>
10 <dd>
11 <p> The Reflection Emit namespace contains classes that allow a compiler or tool to emit metadata and Microsoft intermediate language (MSIL) and optionally generate a PE file on disk. The primary clients of these classes are script engines and compilers.</p>
12 </dd>
13 </dl>
14 <h3>Members of System.Reflection.Emit Namespace</h3><b>Classes</b><dl>
15 <dd>
16 <table border="1" width="90%" style="border-collapse: collapse">
17 <tr valign="top">
18 <th bgcolor="#C0C0C0">Class</th>
19 <th bgcolor="#C0C0C0">
20 Description
21 </th>
22 </tr>
23 <tr valign="top">
24 <td width="30%"><a href="types/AssemblyBuilder.html">class AssemblyBuilder</a></td>
25 <td width="60%"> Defines and represents a dynamic assembly. 
26 </td>
27 </tr>
28 <tr valign="top">
29 <td width="30%"><a href="types/ConstructorBuilder.html">class ConstructorBuilder</a></td>
30 <td width="60%"> Defines and represents a constructor of a dynamic class. 
31 </td>
32 </tr>
33 <tr valign="top">
34 <td width="30%"><a href="types/CustomAttributeBuilder.html">class CustomAttributeBuilder</a></td>
35 <td width="60%"> Helps build custom attributes. 
36 </td>
37 </tr>
38 <tr valign="top">
39 <td width="30%"><a href="types/EnumBuilder.html">class EnumBuilder</a></td>
40 <td width="60%"> Describes and represents an enumeration type. 
41 </td>
42 </tr>
43 <tr valign="top">
44 <td width="30%"><a href="types/EventBuilder.html">class EventBuilder</a></td>
45 <td width="60%"> Defines events for a class. 
46 </td>
47 </tr>
48 <tr valign="top">
49 <td width="30%"><a href="types/FieldBuilder.html">class FieldBuilder</a></td>
50 <td width="60%"> Defines and represents a field. This class cannot be inherited. 
51 </td>
52 </tr>
53 <tr valign="top">
54 <td width="30%"><a href="types/ILGenerator.html">class ILGenerator</a></td>
55 <td width="60%"> Generates Microsoft intermediate language (MSIL) instructions. 
56 </td>
57 </tr>
58 <tr valign="top">
59 <td width="30%"><a href="types/LocalBuilder.html">class LocalBuilder</a></td>
60 <td width="60%"> Represents a local variable within a method or constructor. 
61 </td>
62 </tr>
63 <tr valign="top">
64 <td width="30%"><a href="types/MethodBuilder.html">class MethodBuilder</a></td>
65 <td width="60%"> Defines and represents a method (or constructor) on a dynamic class. 
66 </td>
67 </tr>
68 <tr valign="top">
69 <td width="30%"><a href="types/MethodRental.html">class MethodRental</a></td>
70 <td width="60%"> Provides a fast way to swap method body implementation given a method of a class. 
71 </td>
72 </tr>
73 <tr valign="top">
74 <td width="30%"><a href="types/ModuleBuilder.html">class ModuleBuilder</a></td>
75 <td width="60%"> Defines and represents a module. Get an instance of ModuleBuilder by calling <a href="#DefineDynamicModule(System.String)">AssemblyBuilder.DefineDynamicModule</a>
76 </td>
77 </tr>
78 <tr valign="top">
79 <td width="30%"><a href="types/OpCodes.html">class OpCodes</a></td>
80 <td width="60%">
81 Provides field representations of the Microsoft
82 Intermediate Language (MSIL) instructions for emission by the
84 class members (such as
88 </td>
89 </tr>
90 <tr valign="top">
91 <td width="30%"><a href="types/ParameterBuilder.html">class ParameterBuilder</a></td>
92 <td width="60%"> Creates or associates parameter information. 
93 </td>
94 </tr>
95 <tr valign="top">
96 <td width="30%"><a href="types/PropertyBuilder.html">class PropertyBuilder</a></td>
97 <td width="60%"> Defines the properties for a type. 
98 </td>
99 </tr>
100 <tr valign="top">
101 <td width="30%"><a href="types/SignatureHelper.html">class SignatureHelper</a></td>
102 <td width="60%"> Provides methods for building signatures. 
103 </td>
104 </tr>
105 <tr valign="top">
106 <td width="30%"><a href="types/TypeBuilder.html">class TypeBuilder</a></td>
107 <td width="60%"> Defines and creates new instances of classes during runtime. 
108 </td>
109 </tr>
110 <tr valign="top">
111 <td width="30%"><a href="types/UnmanagedMarshal.html">class UnmanagedMarshal</a></td>
112 <td width="60%"> Represents the class that describes how to marshal a field from managed to unmanaged code. This class cannot be inherited. 
113 </td>
114 </tr>
115 </table>
116 </dd>
117 </dl><br><b>Structures</b><dl>
118 <dd>
119 <table border="1" width="90%" style="border-collapse: collapse">
120 <tr valign="top">
121 <th bgcolor="#C0C0C0">Structure</th>
122 <th bgcolor="#C0C0C0">
123 Description
124 </th>
125 </tr>
126 <tr valign="top">
127 <td width="30%"><a href="types/EventToken.html">structure EventToken</a></td>
128 <td width="60%"> Represents the returned by the metadata to represent an event. 
129 </td>
130 </tr>
131 <tr valign="top">
132 <td width="30%"><a href="types/FieldToken.html">structure FieldToken</a></td>
133 <td width="60%"> The class is an object representation of a token that represents a field. 
134 </td>
135 </tr>
136 <tr valign="top">
137 <td width="30%"><a href="types/Label.html">structure Label</a></td>
138 <td width="60%"> Represents a label in the instruction stream. is used in conjunction with the <a href="../System.Reflection.Emit/types/ILGenerator.html">ILGenerator</a> class. 
139 </td>
140 </tr>
141 <tr valign="top">
142 <td width="30%"><a href="types/MethodToken.html">structure MethodToken</a></td>
143 <td width="60%"> The class is an object representation of a token that represents a method. 
144 </td>
145 </tr>
146 <tr valign="top">
147 <td width="30%"><a href="types/OpCode.html">structure OpCode</a></td>
148 <td width="60%"> Describes a Microsoft intermediate language (MSIL) instruction. 
149 </td>
150 </tr>
151 <tr valign="top">
152 <td width="30%"><a href="types/ParameterToken.html">structure ParameterToken</a></td>
153 <td width="60%"> The class is an opaque representation of the token returned by the metadata to represent a parameter. 
154 </td>
155 </tr>
156 <tr valign="top">
157 <td width="30%"><a href="types/PropertyToken.html">structure PropertyToken</a></td>
158 <td width="60%"> The class is an opaque representation of the returned by the metadata to represent a property. 
159 </td>
160 </tr>
161 <tr valign="top">
162 <td width="30%"><a href="types/SignatureToken.html">structure SignatureToken</a></td>
163 <td width="60%"> Represents the returned by the metadata to represent a signature. 
164 </td>
165 </tr>
166 <tr valign="top">
167 <td width="30%"><a href="types/StringToken.html">structure StringToken</a></td>
168 <td width="60%"> Represents a token that represents a string. 
169 </td>
170 </tr>
171 <tr valign="top">
172 <td width="30%"><a href="types/TypeToken.html">structure TypeToken</a></td>
173 <td width="60%"> Represents the returned by the metadata to represent a type. 
174 </td>
175 </tr>
176 </table>
177 </dd>
178 </dl><br><b>Enumerations</b><dl>
179 <dd>
180 <table border="1" width="90%" style="border-collapse: collapse">
181 <tr valign="top">
182 <th bgcolor="#C0C0C0">Enumeration</th>
183 <th bgcolor="#C0C0C0">
184 Description
185 </th>
186 </tr>
187 <tr valign="top">
188 <td width="30%"><a href="types/AssemblyBuilderAccess.html">enumeration AssemblyBuilderAccess</a></td>
189 <td width="60%"> Defines the access modes for a dynamic assembly. 
190 </td>
191 </tr>
192 <tr valign="top">
193 <td width="30%"><a href="types/FlowControl.html">enumeration FlowControl</a></td>
194 <td width="60%"> Describes how an instruction alters the flow of control. 
195 </td>
196 </tr>
197 <tr valign="top">
198 <td width="30%"><a href="types/OpCodeType.html">enumeration OpCodeType</a></td>
199 <td width="60%"> Describes the types of the Microsoft intermediate language (MSIL) instructions. 
200 </td>
201 </tr>
202 <tr valign="top">
203 <td width="30%"><a href="types/OperandType.html">enumeration OperandType</a></td>
204 <td width="60%"> Describes the operand type of Microsoft intermediate language (MSIL) instruction. 
205 </td>
206 </tr>
207 <tr valign="top">
208 <td width="30%"><a href="types/PackingSize.html">enumeration PackingSize</a></td>
209 <td width="60%"> Specifies the packing size of a type. 
210 </td>
211 </tr>
212 <tr valign="top">
213 <td width="30%"><a href="types/PEFileKinds.html">enumeration PEFileKinds</a></td>
214 <td width="60%"> Specifies the type of the portable executable (PE) file. 
215 </td>
216 </tr>
217 <tr valign="top">
218 <td width="30%"><a href="types/StackBehaviour.html">enumeration StackBehaviour</a></td>
219 <td width="60%">
220 Describes how values are pushed onto a stack
221 or popped off a stack.
223 </td>
224 </tr>
225 </table>
226 </dd>
227 </dl><br><b>Namepace hierarchy</b><br><ul class="none">
228 <li><a href="../System/types/Object.html">System.Object</a></li>
229 <ul class="none">
230 <li><a href="../System.Reflection/types/Assembly.html">System.Reflection.Assembly</a></li>
231 <ul class="none">
232 <li><a href="../System.Reflection.Emit/types/AssemblyBuilder.html">System.Reflection.Emit.AssemblyBuilder</a></li>
233 </ul>
234 </ul>
235 <ul class="none">
236 <li><a href="../System.Reflection.Emit/types/CustomAttributeBuilder.html">System.Reflection.Emit.CustomAttributeBuilder</a></li>
237 </ul>
238 <ul class="none">
239 <li><a href="../System.Reflection.Emit/types/EventBuilder.html">System.Reflection.Emit.EventBuilder</a></li>
240 </ul>
241 <ul class="none">
242 <li><a href="../System.Reflection.Emit/types/ILGenerator.html">System.Reflection.Emit.ILGenerator</a></li>
243 </ul>
244 <ul class="none">
245 <li><a href="../System.Reflection.Emit/types/LocalBuilder.html">System.Reflection.Emit.LocalBuilder</a></li>
246 </ul>
247 <ul class="none">
248 <li><a href="../System.Reflection.Emit/types/MethodRental.html">System.Reflection.Emit.MethodRental</a></li>
249 </ul>
250 <ul class="none">
251 <li><a href="../System.Reflection.Emit/types/OpCodes.html">System.Reflection.Emit.OpCodes</a></li>
252 </ul>
253 <ul class="none">
254 <li><a href="../System.Reflection.Emit/types/ParameterBuilder.html">System.Reflection.Emit.ParameterBuilder</a></li>
255 </ul>
256 <ul class="none">
257 <li><a href="../System.Reflection.Emit/types/SignatureHelper.html">System.Reflection.Emit.SignatureHelper</a></li>
258 </ul>
259 <ul class="none">
260 <li><a href="../System.Reflection.Emit/types/UnmanagedMarshal.html">System.Reflection.Emit.UnmanagedMarshal</a></li>
261 </ul>
262 <ul class="none">
263 <li><a href="../System.Reflection/types/MemberInfo.html">System.Reflection.MemberInfo</a></li>
264 <ul class="none">
265 <li><a href="../System.Reflection/types/FieldInfo.html">System.Reflection.FieldInfo</a></li>
266 <ul class="none">
267 <li><a href="../System.Reflection.Emit/types/FieldBuilder.html">System.Reflection.Emit.FieldBuilder</a></li>
268 </ul>
269 </ul>
270 <ul class="none">
271 <li><a href="../System.Reflection/types/MethodBase.html">System.Reflection.MethodBase</a></li>
272 <ul class="none">
273 <li><a href="../System.Reflection/types/ConstructorInfo.html">System.Reflection.ConstructorInfo</a></li>
274 <ul class="none">
275 <li><a href="../System.Reflection.Emit/types/ConstructorBuilder.html">System.Reflection.Emit.ConstructorBuilder</a></li>
276 </ul>
277 </ul>
278 <ul class="none">
279 <li><a href="../System.Reflection/types/MethodInfo.html">System.Reflection.MethodInfo</a></li>
280 <ul class="none">
281 <li><a href="../System.Reflection.Emit/types/MethodBuilder.html">System.Reflection.Emit.MethodBuilder</a></li>
282 </ul>
283 </ul>
284 </ul>
285 <ul class="none">
286 <li><a href="../System.Reflection/types/PropertyInfo.html">System.Reflection.PropertyInfo</a></li>
287 <ul class="none">
288 <li><a href="../System.Reflection.Emit/types/PropertyBuilder.html">System.Reflection.Emit.PropertyBuilder</a></li>
289 </ul>
290 </ul>
291 <ul class="none">
292 <li><a href="../System/types/Type.html">System.Type</a></li>
293 <ul class="none">
294 <li><a href="../System.Reflection.Emit/types/EnumBuilder.html">System.Reflection.Emit.EnumBuilder</a></li>
295 </ul>
296 <ul class="none">
297 <li><a href="../System.Reflection.Emit/types/TypeBuilder.html">System.Reflection.Emit.TypeBuilder</a></li>
298 </ul>
299 </ul>
300 </ul>
301 <ul class="none">
302 <li><a href="../System.Reflection/types/Module.html">System.Reflection.Module</a></li>
303 <ul class="none">
304 <li><a href="../System.Reflection.Emit/types/ModuleBuilder.html">System.Reflection.Emit.ModuleBuilder</a></li>
305 </ul>
306 </ul>
307 <ul class="none">
308 <li><a href="../System/types/ValueType.html">System.ValueType</a></li>
309 <ul class="none">
310 <li><a href="../System/types/Enum.html">System.Enum</a></li>
311 <ul class="none">
312 <li><a href="../System.Reflection.Emit/types/AssemblyBuilderAccess.html">System.Reflection.Emit.AssemblyBuilderAccess</a></li>
313 </ul>
314 <ul class="none">
315 <li><a href="../System.Reflection.Emit/types/FlowControl.html">System.Reflection.Emit.FlowControl</a></li>
316 </ul>
317 <ul class="none">
318 <li><a href="../System.Reflection.Emit/types/OpCodeType.html">System.Reflection.Emit.OpCodeType</a></li>
319 </ul>
320 <ul class="none">
321 <li><a href="../System.Reflection.Emit/types/OperandType.html">System.Reflection.Emit.OperandType</a></li>
322 </ul>
323 <ul class="none">
324 <li><a href="../System.Reflection.Emit/types/PackingSize.html">System.Reflection.Emit.PackingSize</a></li>
325 </ul>
326 <ul class="none">
327 <li><a href="../System.Reflection.Emit/types/PEFileKinds.html">System.Reflection.Emit.PEFileKinds</a></li>
328 </ul>
329 <ul class="none">
330 <li><a href="../System.Reflection.Emit/types/StackBehaviour.html">System.Reflection.Emit.StackBehaviour</a></li>
331 </ul>
332 </ul>
333 <ul class="none">
334 <li><a href="../System.Reflection.Emit/types/EventToken.html">System.Reflection.Emit.EventToken</a></li>
335 </ul>
336 <ul class="none">
337 <li><a href="../System.Reflection.Emit/types/FieldToken.html">System.Reflection.Emit.FieldToken</a></li>
338 </ul>
339 <ul class="none">
340 <li><a href="../System.Reflection.Emit/types/Label.html">System.Reflection.Emit.Label</a></li>
341 </ul>
342 <ul class="none">
343 <li><a href="../System.Reflection.Emit/types/MethodToken.html">System.Reflection.Emit.MethodToken</a></li>
344 </ul>
345 <ul class="none">
346 <li><a href="../System.Reflection.Emit/types/OpCode.html">System.Reflection.Emit.OpCode</a></li>
347 </ul>
348 <ul class="none">
349 <li><a href="../System.Reflection.Emit/types/ParameterToken.html">System.Reflection.Emit.ParameterToken</a></li>
350 </ul>
351 <ul class="none">
352 <li><a href="../System.Reflection.Emit/types/PropertyToken.html">System.Reflection.Emit.PropertyToken</a></li>
353 </ul>
354 <ul class="none">
355 <li><a href="../System.Reflection.Emit/types/SignatureToken.html">System.Reflection.Emit.SignatureToken</a></li>
356 </ul>
357 <ul class="none">
358 <li><a href="../System.Reflection.Emit/types/StringToken.html">System.Reflection.Emit.StringToken</a></li>
359 </ul>
360 <ul class="none">
361 <li><a href="../System.Reflection.Emit/types/TypeToken.html">System.Reflection.Emit.TypeToken</a></li>
362 </ul>
363 </ul>
364 </ul><br><i><a href="../documentation_license.txt">
365 Copyright (c) 2002 Microsoft Corporation. All rights reserved.
366 </a></i></body>
367 </html>